package com.xuchen.zhenyang.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author xuchen
 * @since 2018-03-01
 */
@Data
public class SysUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 密码
     */
    private String password;
    /**
     * 0.失效  1.正常
     */
    private Integer status;
    /**
     * 用户描述
     */
    private String userDesc;
    private Date createTime;
    /**
     * 创建用户的id
     */
    private Integer createUser;
    /**
     * 上次登录时间
     */
    private Date loginTime;

}
